export default{
  wrongWord(wordid){
    return uni.http.post("/api/word/wrongword",{wordid:wordid});
  },
  getWrongWord(){
    return uni.http.post("/api/word/getWrongWord",{limit:20});
  },
  
  delectWrongWord(wordid){
    return uni.http.post("/api/word/dWrongWord",{wordid:wordid});
  },
  getCount(){
    return uni.http.get("/api/word/resend");
  },
  updateImprot(Import){
    return uni.http.post("/api/user/todoupdate",{
      importH:Import.importH,
      importM:Import.importM,
      noimport:Import.noimport,
      importL:Import.importL,
    });
  },
  getImprot(){
    return uni.http.get("/api/user/todolist");
  },
  setImprot(){
    return uni.http.post("/api/user/todo",{
      importH:'',
      importM:'',
      noimport:'',
      importL:'',
    });
  },
  getOldWord(){
    return uni.http.get("/api/word/getOldWord");
  },
  getOldWordDay(){
    return uni.http.get("/api/word/getOldWordDay");
  },
  
}